package cn.ulc.store.dao.site;
import cn.ulc.store.dao.BaseDao;
import org.beetl.sql.core.engine.PageQuery;
import org.beetl.sql.core.annotatoin.SqlResource;
import cn.ulc.store.entity.site.SiteRegion;

import java.util.List;


/*
* SiteRegion
* gen by Jin mapper 2019-07-05
*/
@SqlResource("site.siteRegion")
public interface SiteRegionDao extends BaseDao<SiteRegion> {

    PageQuery<SiteRegion> findListPage(PageQuery pageQuery);
    SiteRegion findByStaff(Long companyId,Long staffId);

    SiteRegion findById(Long id);

    List<SiteRegion> findBySiteId(Long siteId);
}
